Train Sign

A Sign To Show When The Next Train Is Coming

I wrote a program for Chilly And Munch to show when the next train would arrive. It shows how many minutes until the next train. Also, they can type in a number on the keypad when an order is ready. The Pi displays the order number and says the order is ready in a British accent. Also, a train whistle mp3 file is played when a train is 5 minutes away.

I wrote the program in C#.Net in Mono. I used the omxplayer program to play mp3 files for the sound. The train schedule is in a text file. Also, the Pi connects to CalTrain.com every 5 minutes to look for train time updates.